﻿/***********************************************************************
 * <copyright file="ErrorCode.cs" company="B/S JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   Hoang Bich Son 
 * Email:    sonhb@newman.vn
 * Website:
 * Create Date: Tuesday, April 1, 2014
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/

using System;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace SecurityService.MessageBase
{
    /// <summary>
    /// ErrorCode enum
    /// </summary>
    [Flags]
    public enum ErrorCode
    {
        /// <summary>
        /// The user exist
        /// </summary>
        [Description("Exist")]
        [EnumMember]
        Exist = -1,

        /// <summary>
        /// The invalid
        /// </summary>
        [Description("Invalid data")]
        [EnumMember]
        Invalid = -4,

        /// <summary>
        /// The not active
        /// </summary>
        [Description("Not Active")]
        [EnumMember]
        NotActive = -5,

        /// <summary>
        /// The exception
        /// </summary>
        [Description("Error")]
        [EnumMember]
        Exception = -99

    }
}